
        <header><?php echo __('notifications') ?></header>
        <div id="mini_notification_list" style="height: 235px;overflow: hidden">
            <ul class="list">
            <?php if(count($notifications)): ?>
            <?php foreach($notifications as $notification): ?>
              <li> 
                <div class="list_main_container">               
                    <img src="<?php echo $notification['user_photo'] ?>" alt="<?php echo $notification['user_name'].' '.$notification['user_surname'] ?>"/> 
                    <div class="list_user_link"><a href="/desktop/<?php echo $notification['user_url']?>" class="desktop_link" title="<?php echo __('show desktop')?>"></a><a href="/profile/<?php echo $notification['user_url'] ?>" class="profile_link" title="<?php echo __('show profile')?>"></a></div>  
                    <div class="notification_container app_icon 
                    <?php            
                        switch( $notification['event_type'])
                        {
                            case 'EXPERIENCE_CHANGED':
                                echo 'icon_experience';
                                break;

                            case 'EDUCATION_CHANGED':
                                echo 'icon_education';
                                break;
                            case 'PROJECT_ADDED':
                                 echo 'icon_project';
                                break;
                            case 'PROJECT_UPDATED':
                                 echo 'icon_project';
                                break;
                            case 'PROJECT_COMMENT_ADDED':
                                 echo 'icon_comment';
                                break;
                            case 'PROJECT_APPRECIATED':
                                 echo 'icon_star';
                                break;
                        } ?>

                         ">
                         <p class="mini_name ellipsis_word"><strong><?php echo $notification['user_name'].' '.$notification['user_surname'] ?></strong> <?php echo  $notification['title']?></p>
                         <p class="mini_info"><?php echo  date('j.m.Y H:i' ,strtotime($notification['date'])) ?></p>
                    </div>              
                </div> 
            </li>             
            <?php endforeach ?>
            <?php else: ?>
                <li>
                    <div class="list_main_container">
                        <div class="list_standard_entre" style="text-align: center; float: none; padding-left: 0px"><?php echo __('no notifications to show') ?></div>                   
                    </div>
                </li>
            <?php endif ?>
        </ul> 
    </div>
